<?

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
#	FILE:			includes/project.php
#	FUNCTION:		Variables for this project
#	AUTHOR:			Cameron Morrow
#	CREATED:		26/07/2005
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

# Project Title
$PROJECT_TITLE = "RIO";

# Project Code
$PROJECT_CODE = "ggw";

# Project URL
$PROJECT_URL = "http://www.zone4.com.au/dev/rio/site";

# Email
$PROJECT_EMAIL = "cameron@zone4.com.au";

# If on Zone4
if (strpos($_SERVER["SERVER_NAME"], "www.zone4.com.au") !== false) {

	# Database
	$PROJECT_DB = "vs20043_1";

	# Host
	$PROJECT_DB_HOST = "wic001my.server-sql.com";

	# User
	$PROJECT_DB_USERNAME = "vs20043_1_dbo";

	# Password
	$PROJECT_DB_PASSWORD = "XCMAckxVq2";

} else {
	# Database
	$PROJECT_DB = "ggwdb";

	# Host
	$PROJECT_DB_HOST = "localhost";

	# User
	$PROJECT_DB_USERNAME = "phpuser";

	# Password
	$PROJECT_DB_PASSWORD = "";
}

# Tables
$PROJECT_DB_TABLES = array(
	"users" => "rio_users",
	"pages" => "rio_pages",
	"groups" => "rio_groups",
	"newsletters" => "rio_newsletters",
	"newsletter_groups" => "rio_newsletter_groups",
	"table_properties" => "rio_table_properties",
	"logs" => "rio_logs",
	"glossary"=>"rio_glossary"
);

# Email SMTP Host
$PROJECT_SMTP_HOST = "smtp-au.server-mail.com";

# Include version info
if (file_exists("../includes/version.php")) {
	include "../includes/version.php";
} else if (file_exists("../../includes/version.php")){
	
	include "../../includes/version.php";
}
else{
	include "includes/version.php";
}
# Message to send from admin when email address is changed
#$EMAIL_CHANGE_MESSAGE = "";

?>